package com.grape.starter.db.core.vm;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

import java.io.Serializable;

/**
 * 描述:查询参数
 * @author: myx
 * @date: 2019-05-25
 * Copyright © 2019-grape. All rights reserved.
 */
@Data
public class SmartPageVM<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 分页相关属性
     */
    private Page page;

    /**
     * 查询参数
     */
    private T search;

    /**
     * 排序参数
     */
    private SmartSort sort;
}
